package com.ruoyi.tsjData.domain.plat;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.ruoyi.common.convert.BoolToStringDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提升机-空行程测试对象 data_tshj_kxch
 * 
 * @author ruoyi
 * @date 2023-10-25
 */
@ApiModel(value = "提升机-空行程测试对象")
public class DataTshjKxch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 空行程测试ID */
    private Long kxchId;

    /** 测试任务ID */
    @Excel(name = "测试任务ID")
    private Long dataTaskId;

    /** 数据ID */
    @ApiModelProperty(value = "数据ID")
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

    /** 空行程时间 */
    @Excel(name = "空行程时间")
    @ApiModelProperty(value = "空行程时间")
    private String kxcTime;

    /** 闸序号 */
    @Excel(name = "闸序号")
    @ApiModelProperty(value = "闸序号")
    private String zhaIndex;

    /** 左右 */
    @Excel(name = "左右")
    @ApiModelProperty(value = "左右")
    @JsonDeserialize(using = BoolToStringDeserializer.class)
    private String left;

    /** 保存时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "保存时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "保存时间")
    private Date saveTime;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setKxchId(Long kxchId) 
    {
        this.kxchId = kxchId;
    }

    public Long getKxchId() 
    {
        return kxchId;
    }
    public void setDataTaskId(Long dataTaskId) 
    {
        this.dataTaskId = dataTaskId;
    }

    public Long getDataTaskId() 
    {
        return dataTaskId;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTaskId(Long taskId) 
    {
        this.taskId = taskId;
    }

    public Long getTaskId() 
    {
        return taskId;
    }
    public void setKxcTime(String kxcTime)
    {
        this.kxcTime = kxcTime;
    }

    public String getKxcTime()
    {
        return kxcTime;
    }
    public void setZhaIndex(String zhaIndex) 
    {
        this.zhaIndex = zhaIndex;
    }

    public String getZhaIndex() 
    {
        return zhaIndex;
    }
    public void setSaveTime(Date saveTime) 
    {
        this.saveTime = saveTime;
    }

    public Date getSaveTime() 
    {
        return saveTime;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public String getLeft() {
        return left;
    }

    public void setLeft(String left) {
        this.left = left;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("kxchId", getKxchId())
            .append("dataTaskId", getDataTaskId())
            .append("id", getId())
            .append("taskId", getTaskId())
            .append("zhaIndex", getZhaIndex())
            .append("saveTime", getSaveTime())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
